home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Marathon Map Viewer / @Source / myApplication.h < prev    next >
Text File  |  1995-06-06  |  784b  |  33 lines

  1. /*-----------------------------------------------------------------
  2.     Copyright ©1994 Steve Israelson
  3. -----------------------------------------------------------------*/
  4.  
  5. #pragma once
  6. #include "marathonTypes.h"
  7.  
  8. #include <LDocApplication.h>
  9. #include <LWindow.h>
  10. #include <LListener.h>
  11.  
  12.  
  13. class    myApplication : public LDocApplication{
  14. public:
  15.                         myApplication();
  16.     virtual             ~myApplication();
  17.     
  18.     virtual Boolean        ObeyCommand(CommandT inCommand, void *ioParam = nil);
  19.     virtual void        FindCommandStatus(CommandT inCommand,
  20.                             Boolean &outEnabled, Boolean &outUsesMark,
  21.                             Char16 &outMark, Str255 outName);
  22.  
  23.     virtual void        OpenDocument(FSSpec *inMacFSSpec);
  24.     virtual LModelObject*    MakeNewDocument();
  25.     virtual void        ChooseDocument();
  26.  
  27. private:
  28. };
  29.  
  30. extern myApplication        *theApp;
  31.  
  32.  
  33.